//
//  FeedbackEmailSender.h
//  EmailTest
//
//  Created by Blossom on 10-10-16.
//  Copyright 2010 Miles Thorogood, greenmeat.net. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <EDCommon/EDCommon.h>
#import <EDMessage/EDMessage.h>

@interface FeedbackEmailSender : NSObject {
	
	EDMailAgent *emailAgent;
	NSMutableDictionary *headerFields;
	EDInternetMessage *emailMessage;
	NSFileHandle *inputEmailMessageFileHandle; //for reading email message content from a file

 }


/* -----------------------------------------------
 Send Email Methods
 -------------------------------------------------*/

- (EDInternetMessage *)createMessage;
- (void)sendEmailMessageTo: (NSString *) recipientName AtEmail: (NSString *) recipientEmail ;

/* -----------------------------------------------
 Getter and Setter Methods
 -------------------------------------------------*/

@property (nonatomic, retain) EDMailAgent *emailAgent;
@property (nonatomic, retain) NSMutableDictionary *headerFields;
@property (nonatomic, retain) EDInternetMessage *emailMessage;
@property (nonatomic, retain) NSFileHandle *inputEmailMessageFileHandle;


@end
